#include "../imx6ull/imx6ull.h"
#include "../bsp/bsp_clk.h"
#include "../bsp/bsp_gpio.h"
#include "../bsp/bsp_int.h"
#include "../bsp/bsp_exit.h"
#include "../bsp/bsp_epit.h"
#include "../bsp/bsp_uart.h"
#include "../stdio/include/stdio.h"
#include "../stdio/include/string.h"
int main(void){
	int_init();//中断初始化
    	clk_init();//时钟初始化
	led_init();//led初始化
	beep_init();//蜂鸣器初始化
	key_init();//按键初始化
	exit_init();//外部中断初始化	
	epit1_init(0,66000000);//定时器初始化
	uart_init();	
	unsigned int count=0;	
    	while(1){
		count++;
		printf("[%d]hello,world\r\n",count);
    }
	return 0;
}
